.class Lcom/example/m6wmr/SearchActivity$3;
.super Ljava/lang/Object;
.source "SearchActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/SearchActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/SearchActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/SearchActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    .line 141
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 146
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->service:Ldbclass/NotesService;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$2(Lcom/example/m6wmr/SearchActivity;)Ldbclass/NotesService;

    move-result-object v1

    invoke-virtual {v1}, Ldbclass/NotesService;->delete()V

    .line 148
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    # invokes: Lcom/example/m6wmr/SearchActivity;->getData1()Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/SearchActivity;->access$6(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v2

    iput-object v2, v1, Lcom/example/m6wmr/SearchActivity;->list:Ljava/util/List;

    .line 149
    new-instance v0, Ldata/NotesAdapter;

    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    iget-object v2, v2, Lcom/example/m6wmr/SearchActivity;->list:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Ldata/NotesAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    .line 150
    .local v0, "adapter":Ldata/NotesAdapter;
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv:Landroid/widget/ListView;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$7(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 151
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$3;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv:Landroid/widget/ListView;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$7(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v1

    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->seth(Landroid/widget/ListView;)V

    .line 152
    return-void
.end method
